import Vue from 'vue'
export const errimg = {
    inserted: function (dom, option) {
        // `bind`, `update`
        dom.onerror = function () {
            dom.src = option.value
        }
    },
    componentUpdated(dom, options) {
        dom.src = dom.src || options.value
    },
}